﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ASmile.ORM.Entitys
{
    public class EntityViewBase
    {
        protected internal virtual string GetTableName() { return null; }

        /// <summary>
        /// int 
        /// </summary>
        public bool WEx_In<T>(object fieldName, params T[] array)
        {
            return true;
        }
        /// <summary>
        /// int not 
        /// </summary>
        public bool WEx_InNot<T>(object fieldName, params T[] array)
        {
            return true;
        }
        /// <summary>
        /// like 
        /// </summary>
        public bool WEx_Like(object fieldName, string likeStr)
        {
            return true;
        }
        /// <summary>
        /// like not 
        /// </summary>
        public bool WEx_LikeNot(object fieldName, string likeStr)
        {
            return true;
        }
        /// <summary>
        /// 大于
        /// </summary>
        public bool WEx_GreaterThen(object fieldName, string value)
        {
            return true;    //这个是用于字符串比较>
        }
        /// <summary>
        /// 大于等于
        /// </summary>
        public bool WEx_GreaterThenEqual(object fieldName, string value)
        {
            return true;
        }
        /// <summary>
        /// 小于
        /// </summary>
        public bool WEx_LessThan(object fieldName, string value)
        {
            return true;
        }
        /// <summary>
        /// 小于等于
        /// </summary>
        public bool WEx_LessThanEqual(object fieldName, string value)
        {
            return true;
        }
    }
}